# File: ally_healer_first_aid.gd
# 治疗者技能 - 急救训练
# 平衡治疗类型效果
extends TechnologyResource
class_name AllyHealerFirstAid

var single_heal_bonus = 0.25 # 单体治疗加成
var aoe_penalty = -0.1 # 群体治疗惩罚

func _init() -> void:
	super()
	display_name = tr("tech.healer.first_aid.name")
	description = tr("tech.healer.first_aid.desc").format({
		"single": Tools.percent_str(single_heal_bonus),
		"aoe": Tools.percent_str(aoe_penalty)
	})
	GlobalSignal.gs_ally_get_heal.connect(_on_get_heal)

# 处理治疗事件
func _on_get_heal(healer: Unit, target: Unit, amount: Heal):
	pass
